package com.example.withroadlogistics.model;

public class Clock {
    private int clockid;
    private int routeid;
    private boolean isClock;
    private String clockTime;
    private int qrcodeid;
    private String clockcontent;
    private String clocknote;

    public static String QRCODEID = "qrcodeid";
    public static String ROUTEID = "routeid";
    public static String CLOCKCONTENT = "clockcontent";

    public Clock(int clockid, int routeid, boolean isClock, String clockTime, int qrcodeid, String clockcontent, String clocknote) {
        this.clockid = clockid;
        this.routeid = routeid;
        this.isClock = isClock;
        this.clockTime = clockTime;
        this.qrcodeid = qrcodeid;
        this.clockcontent = clockcontent;
        this.clocknote = clocknote;
    }

    public int getClockid() {
        return clockid;
    }

    public void setClockid(int clockid) {
        this.clockid = clockid;
    }

    public int getRouteid() {
        return routeid;
    }

    public void setRouteid(int routeid) {
        this.routeid = routeid;
    }

    public boolean isClock() {
        return isClock;
    }

    public void setClock(boolean clock) {
        isClock = clock;
    }

    public String getClockTime() {
        return clockTime;
    }

    public void setClockTime(String clockTime) {
        this.clockTime = clockTime;
    }

    public int getQrcodeid() {
        return qrcodeid;
    }

    public void setQrcodeid(int qrcodeid) {
        this.qrcodeid = qrcodeid;
    }

    public String getClockcontent() {
        return clockcontent;
    }

    public void setClockcontent(String clockcontent) {
        this.clockcontent = clockcontent;
    }

    public String getClocknote() {
        return clocknote;
    }

    public void setClocknote(String clocknote) {
        this.clocknote = clocknote;
    }

    @Override
    public String toString() {
        return "Clock{" +
                "clockid=" + clockid +
                ", routeid=" + routeid +
                ", isClock=" + isClock +
                ", clockTime='" + clockTime + '\'' +
                ", qrcodeid=" + qrcodeid +
                ", clockcontent='" + clockcontent + '\'' +
                ", clocknote='" + clocknote + '\'' +
                '}';
    }
}
